package com.ttdev.mmms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 活动实体类
 */

@Data
@AllArgsConstructor
@ToString
@TableName("activity")
public class Activity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;//活动编号
    @TableId(value = "content")
    private String content;//活动内容
    @TableId(value = "start")
    private String start;//开始时间
    @TableId(value = "stop")
    private String stop;//结束时间
    @TableId(value = "store_id")
    private Integer storeId;//归属商家

}
